package com.sqx.modules.pay.service;

import com.sqx.common.utils.Result;

import java.math.BigDecimal;


/**
 * @author fang
 * @date 2020/2/26
 */
public interface WxService {

    String payBack(String resXml,Integer type);

    Result payMoney(Long userId, BigDecimal money, Long parentId, Integer classify) throws Exception;

    boolean refund(String ordersNo, BigDecimal refundMoney);

    Result payOrder(Long userId, Long orderId, Integer classify) throws Exception;

    //boolean refund(Orders orders);

}